To take a risk by publicly stating an opinion or taking a stand on a controversial issue, especially when it may attract criticism or opposition. The phrase originates from the idea of exposing oneself to danger by sticking one's head above a protective barrier (parapet).